package com.zat.mes.andrmes.dofun.main.adapter

import android.text.TextUtils
import android.view.View
import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zat.mes.andrmes.BomNotifiBean
import com.zat.mes.andrmes.R
import com.zat.mes.andrmes.data.BindMachineBean
import com.zat.mes.andrmes.data.DayPlanNotifBean

/**
 * @author zy
 * @date :2020-07-14 18:12
 * @description:物料通知
 */
class BomNotifiAdapter(layoutResId: Int) :
    BaseQuickAdapter<BomNotifiBean, BaseViewHolder>(layoutResId) {
    override fun convert(helper: BaseViewHolder, item: BomNotifiBean) {

        helper.setText(R.id.tvMonthBom,"月计划号："+item?.monthPlanName)
            .setText(R.id.tvOrderStyleBom, "订单号："+item?.orderNumber)
            .setText(R.id.tvProduceBom, "款式："+item?.productName)
            .setText(R.id.tvDateBom, ""+item?.makeDate)



    }


}